<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>qt5-base</Name>
        <Homepage>http://qt.digia.com/</Homepage>
        <Packager>
            <Name>Ayhan Yalçınsoy</Name>
            <Email>ayhanyalcinsoy@pisilinux.org</Email>
        </Packager>
        <Summary>Cross platform application and UI framework</Summary>
        <Description>Cross platform application and UI development framework</Description>
        <License>'GPL3' 'LGPL3' 'FDL' 'custom'</License>
        <Archive sha1sum="ccf98c742699e0d39798748777fd438128c15fe4" type="tarxz">http://download.qt.io/official_releases/qt/5.9/5.9.3/submodules/qtbase-opensource-src-5.9.3.tar.xz</Archive>
        <BuildDependencies>
            <Dependency>at-spi2-core-devel</Dependency>
            <Dependency versionFrom="2.2.2">cups-devel</Dependency>
            <Dependency versionFrom="1.11.8">dbus-devel</Dependency>
            <Dependency>zlib-devel</Dependency>
            <Dependency versionFrom="2.50.2">glib2-devel</Dependency>
            <Dependency>libpcre-devel</Dependency>
            <Dependency>desktop-file-utils</Dependency>
            <Dependency>fontconfig-devel</Dependency>
            <Dependency>gperf</Dependency>
            <Dependency versionFrom="2.24.31">gtk2-devel</Dependency>
            <Dependency versionFrom="1.4.2">harfbuzz-devel</Dependency>
            <Dependency>icon-theme-hicolor</Dependency>
            <Dependency versionFrom="1.18">leveldb-devel</Dependency>
            <Dependency versionFrom="2.5.6.27020">firebird-superserver</Dependency>
            <Dependency>libjpeg-turbo-devel</Dependency>
            <Dependency versionFrom="10.1.21">mariadb-lib</Dependency>
            <Dependency>libxcb-devel</Dependency>
            <Dependency>libXcomposite-devel</Dependency>
            <Dependency>libxkbcommon-devel</Dependency>
            <Dependency>libxslt</Dependency>
            <Dependency versionFrom="13.0.4">mesa-devel</Dependency>
            <Dependency>libmtdev-devel</Dependency>
            <Dependency>nss-devel</Dependency>
            <Dependency>pciutils-devel</Dependency>
            <Dependency>postgresql-server</Dependency>
            <Dependency versionFrom="2.7.13">python-devel</Dependency>
            <Dependency>DirectFB-devel</Dependency>
            <Dependency>libinput-devel</Dependency>
            <Dependency versionFrom="3.16.2">sqlite-devel</Dependency>
            <Dependency>xcb-proto</Dependency>
            <Dependency>xcb-util-devel</Dependency>
            <Dependency>xcb-util-image-devel</Dependency>
            <Dependency>xcb-util-keysyms-devel</Dependency>
            <Dependency>xcb-util-wm-devel</Dependency>
            <Dependency>tiff-devel</Dependency>
            <Dependency>libdrm-devel</Dependency>
            <Dependency>libpng-devel</Dependency>
            <Dependency versionFrom="3.2.1">eudev-devel</Dependency>
            <Dependency>libSM-devel</Dependency>
            <Dependency>libICE-devel</Dependency>
            <Dependency>libX11-devel</Dependency>
            <Dependency>libXext-devel</Dependency>
            <Dependency versionFrom="2.5.6.27020">firebird-devel</Dependency>
            <Dependency>unixODBC-devel</Dependency>
            <Dependency>libXrandr-devel</Dependency>
            <Dependency>libXrender-devel</Dependency>
            <Dependency>libXi-devel</Dependency>
            <Dependency>xcb-util-renderutil-devel</Dependency>
            <Dependency>openssl-devel</Dependency>
            <Dependency versionFrom="2.7.1">freetype-devel</Dependency>
            <Dependency>pulseaudio-libs-devel</Dependency>
            <Dependency>alsa-lib-devel</Dependency>
            <Dependency>libproxy-devel</Dependency>
            <Dependency versionFrom="1.10.3">gst-plugins-base-next-devel</Dependency>
            <Dependency versionFrom="1.12.0">wayland-devel</Dependency>
            <Dependency>libXcursor-devel</Dependency>
        </BuildDependencies>
        <Patches>
        <!-- Pisilinux Patches -->
            <Patch>mkspecs.patch</Patch>
            <Patch>qt5-qtbase-5.9.1-firebird.patch</Patch>
            <Patch>qtbase-opensource-src-5.9.0-mysql.patch</Patch>
            <Patch>qtbase-opensource-src-5.8.0-QT_VERSION_CHECK.patch</Patch>
            <Patch>qtbase-mariadb.patch</Patch>
            <Patch>qtbase-opensource-src-5.9.3-QTBUG-64742-out-of-bounds-in-qdnslookup_unix.patch</Patch>
        </Patches>
    </Source>

    <Package>
        <Name>qt5-base</Name>
        <RuntimeDependencies>
            <Dependency>gtk2</Dependency>
            <Dependency>pango</Dependency>
            <Dependency>libpcre</Dependency>
            <Dependency>libgcc</Dependency>
            <Dependency>cups</Dependency>
            <Dependency>dbus</Dependency>
            <Dependency>mesa</Dependency>
            <Dependency>zlib</Dependency>
            <Dependency>glib2</Dependency>
            <Dependency>icu4c</Dependency>
            <Dependency>libSM</Dependency>
            <Dependency versionFrom="2.5.6.27020">firebird-client</Dependency>
            <Dependency>libproxy</Dependency>
            <Dependency>libXi</Dependency>
            <Dependency>libICE</Dependency>
            <Dependency>libX11</Dependency>
            <Dependency>libdrm</Dependency>
            <Dependency>libpng</Dependency>
            <Dependency>libxcb</Dependency>
            <Dependency>eudev</Dependency>
            <Dependency>DirectFB</Dependency>
            <Dependency>openssl</Dependency>
            <Dependency>freetype</Dependency>
            <Dependency>harfbuzz</Dependency>
            <Dependency>libinput</Dependency>
            <Dependency>libmtdev</Dependency>
            <Dependency>fontconfig</Dependency>
            <Dependency>libXrender</Dependency>
            <Dependency>xcb-util-wm</Dependency>
            <Dependency>libxkbcommon</Dependency>
            <Dependency>libjpeg-turbo</Dependency>
            <Dependency>xcb-util-image</Dependency>
            <Dependency>xcb-util-keysyms</Dependency>
            <Dependency>xcb-util-renderutil</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="library">/usr/lib</Path>
            <Path fileType="library">/usr/lib/qt5/imports</Path>
            <Path fileType="library">/usr/lib/qt5/qml</Path>
            <Path fileType="library">/usr/lib/qt5/plugins</Path>
            <Path fileType="localdata">/usr/share/qt5/translations</Path>
            <Path fileType="executable">/usr/lib/qt5/bin</Path>
            <Path fileType="executable">/usr/bin</Path>
            <Path fileType="doc">/usr/share/doc</Path>
            <Path fileType="data">/usr/lib/qt5/mkspecs</Path>
        </Files>
    </Package>

    <Package>
        <Name>qt5-base-devel</Name>
        <Summary>Development files for Qt 5</Summary>
        <Description>Development files for Qt 5</Description>
        <Files>
            <Path fileType="header">/usr/include</Path>
            <Path fileType="data">/usr/lib/pkgconfig</Path>
            <Path fileType="data">/usr/lib/cmake</Path>
            <Path fileType="data">/usr/lib/*.prl</Path>
        </Files>
        <RuntimeDependencies>
            <Dependency release="current">qt5-base</Dependency>
            <Dependency>mesa-devel</Dependency>
        </RuntimeDependencies>
    </Package>

    <Package>
        <Name>qt5-sql-mysql</Name>
        <RuntimeDependencies>
            <Dependency version="current">qt5-base</Dependency>
            <Dependency>libgcc</Dependency>
            <Dependency>mariadb-lib</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="library">/usr/lib/qt5/plugins/sqldrivers/libqsqlmysql.so</Path>
        </Files>
    </Package>

    <Package>
        <Name>qt5-sql-postgresql</Name>
        <RuntimeDependencies>
            <Dependency version="current">qt5-base</Dependency>
            <Dependency>libgcc</Dependency>
            <Dependency>postgresql-lib</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="library">/usr/lib/qt5/plugins/sqldrivers/libqsqlpsql.so</Path>
        </Files>
    </Package>

    <Package>
        <Name>qt5-sql-sqlite</Name>
        <RuntimeDependencies>
            <Dependency version="current">qt5-base</Dependency>
            <Dependency>libgcc</Dependency>
            <Dependency>sqlite</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="library">/usr/lib/qt5/plugins/sqldrivers/libqsqlite.so</Path>
        </Files>
    </Package>

    <Package>
        <Name>qt5-sql-odbc</Name>
        <RuntimeDependencies>
            <Dependency version="current">qt5-base</Dependency>
            <Dependency>libgcc</Dependency>
            <Dependency>unixODBC</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="library">/usr/lib/qt5/plugins/sqldrivers/libqsqlodbc.so</Path>
        </Files>
    </Package>

       <!-- <Package>
        <Name>qt5-base-32bit</Name>
        <PartOf>emul32</PartOf>
        <Summary>32-bit shared libraries for qt5</Summary>
        <BuildType>emul32</BuildType>
        <BuildDependencies>
            <Dependency>cups-32bit</Dependency>
            <Dependency>dbus-32bit</Dependency>
            <Dependency>gtk2-32bit</Dependency>
            <Dependency>mesa-32bit</Dependency>
            <Dependency>zlib-32bit</Dependency>
            <Dependency>glib2-32bit</Dependency>
            <Dependency>libxcb-32bit</Dependency>
            <Dependency>icu4c-32bit</Dependency>
            <Dependency>pango-32bit</Dependency>
            <Dependency>libX11-32bit</Dependency>
            <Dependency>libdrm-32bit</Dependency>
            <Dependency>libpng-32bit</Dependency>
            <Dependency>sqlite-32bit</Dependency>
            <Dependency>eudev-32bit</Dependency>
            <Dependency>openssl-32bit</Dependency>
            <Dependency>freetype-32bit</Dependency>
            <Dependency>harfbuzz-32bit</Dependency>
            <Dependency>libmtdev-32bit</Dependency>
            <Dependency>fontconfig-32bit</Dependency>
            <Dependency>libXrender-32bit</Dependency>
            <Dependency>libjpeg-turbo-32bit</Dependency>
            <Dependency>gst-plugins-base-next-devel</Dependency>
        </BuildDependencies>
        <RuntimeDependencies>
            <Dependency>libgcc</Dependency>
            <Dependency>libpcre</Dependency>
            <Dependency>qt5-base-devel</Dependency>
            <Dependency>cups-32bit</Dependency>
            <Dependency>dbus-32bit</Dependency>
            <Dependency>gtk2-32bit</Dependency>
            <Dependency>mesa-32bit</Dependency>
            <Dependency>zlib-32bit</Dependency>
            <Dependency>glib2-32bit</Dependency>
            <Dependency>libxcb-32bit</Dependency>
            <Dependency>icu4c-32bit</Dependency>
            <Dependency>qt5-base</Dependency>
            <Dependency>cups</Dependency>
            <Dependency>dbus</Dependency>             
            <Dependency>pango-32bit</Dependency>
            <Dependency>libX11-32bit</Dependency>
            <Dependency>libdrm-32bit</Dependency>
            <Dependency>libpng-32bit</Dependency>
            <Dependency>sqlite-32bit</Dependency>            
            <Dependency>openssl-32bit</Dependency>
            <Dependency>freetype-32bit</Dependency>
            <Dependency>harfbuzz-32bit</Dependency>
            <Dependency>libmtdev-32bit</Dependency>
            <Dependency>fontconfig-32bit</Dependency>
            <Dependency>libXrender-32bit</Dependency>
            <Dependency>libjpeg-turbo-32bit</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="library">/usr/lib32</Path>
        </Files>
    </Package>-->

    <History>
        <Update release="7">
            <Date>2018-02-01</Date>
            <Version>5.9.3</Version>
            <Comment>Version bump</Comment>
            <Name>Ayhan Yalçınsoy</Name>
            <Email>ayhanyalcinsoy@pisilinux.org</Email>
        </Update>
        <Update release="6">
            <Date>2017-03-19</Date>
            <Version>5.7.1</Version>
            <Comment>Version bump.</Comment>
            <Name>Stefan Gronewold(groni)</Name>
            <Email>groni@pisilinux.org</Email>
        </Update>
        <Update release="5">
            <Date>2016-10-21</Date>
            <Version>5.6.2</Version>
            <Comment>Version Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="4">
            <Date>2016-06-29</Date>
            <Version>5.6.0</Version>
            <Comment>Release Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="3">
            <Date>2016-05-15</Date>
            <Version>5.6.0</Version>
            <Comment>Rebuild for new gst</Comment>
            <Name>PisiLinux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="2">
            <Date>2016-05-04</Date>
            <Version>5.6.0</Version>
            <Comment>Rebuild</Comment>
            <Name>PisiLinux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2016-04-17</Date>
            <Version>5.6.0</Version>
            <Comment>First release</Comment>
            <Name>Ertuğrul Erata</Name>
            <Email>ertugrulerata@gmail.com</Email>
        </Update>
    </History>
</PISI>
